package com.sk.compiler.info;

import java.util.HashSet;
import java.util.Set;

public class MapperInfo {

    private String packageName;
    private String className;
    private Set<String> packages;

    public MapperInfo() {
        packages=new HashSet<>();
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public void addPackage(String packageName){
        packages.add(packageName);
    }

    public String getPackageName() {
        return packageName;
    }

    public Set<String> getPackages() {
        return packages;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    @Override
    public String toString() {
        return "MapperInfo{" +
                "packageName='" + packageName + '\'' +
                ", className='" + className + '\'' +
                ", packages=" + packages +
                '}';
    }
}